Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Modify remote config to scope by token #26964

Merged
merged 3 commits into from
Dec 17, 2024

Conversation

benjackwhite
Copy link
Contributor

@benjackwhite benjackwhite commented Dec 17, 2024

Problem

Related to PostHog/posthog-js#1611

Thinking ahead to situations with multiple clients running we don't want to overwrite the configs and also ensure we only load those for the token we are using

Changes

  • Changes the format to be an object keyed by token

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

Does this work well for both Cloud and self-hosted?

How did you test this code?

@benjackwhite benjackwhite marked this pull request as ready for review December 17, 2024 08:50
@benjackwhite benjackwhite requested review from mariusandra and a team December 17, 2024 08:50
Copy link
Collaborator

@mariusandra mariusandra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@benjackwhite benjackwhite merged commit ba31603 into master Dec 17, 2024
89 checks passed
@benjackwhite benjackwhite deleted the fix/remote-config-loader branch December 17, 2024 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants